package com.aaa.vegetablemarketexpress.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @FileName: CustomException
 * @Description:    统一自定义异常
 * @Author: 张钰哲
 * @CreateTime: 2025/8/22 15:04
 * @Version: 1.0.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomException extends RuntimeException{
    //错误码
    private Integer errorCode;
    //错误信息
    private String errorMsg;

}
